From 33577c40bfcf5b3284ee2be9ddb9edb91bfb6cee Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Wed, 18 Aug 2010 14:50:51 +0100 Subject: [PATCH] tools/hotplug: 21549:8bcaec29574e breaks vif-script with arguments. For example, (vif-script 'vif-bridge bridge=eth1') in xend-config.sxp will cause vif-setup to attempt to execute 'vif-bridge bridge=eth1' due to a quoting mismatch. The fix appears to be to remove the extra quotes around "$script" in vif-setup. Signed-off-by: Brendan Cully Signed-off-by: Ian Jackson --- tools/hotplug/Linux/vif-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hotplug/Linux/vif-setup b/tools/hotplug/Linux/vif-setup index 677e29ca3f..bcc462eaf5 100644 --- a/tools/hotplug/Linux/vif-setup +++ b/tools/hotplug/Linux/vif-setup @@ -2,7 +2,7 @@ if test "$script" then - exec "$script" $* + exec $script $* else exec /etc/xen/scripts/vif-bridge $* fi -- 2.30.2